package com.helmlabs.grouper.cms.dao;

import org.springframework.orm.hibernate3.support.HibernateDaoSupport;

import com.helmlabs.grouper.cms.model.Page;

public class PageDaoHibernate extends HibernateDaoSupport implements PageDao {
	
	public Page save(Page page){
		return (Page)getHibernateTemplate().merge(page);
	}
	
	public Page get(Long id){
		return (Page)getHibernateTemplate().get(Page.class, id);
	}

}
